package com.ldxiwxr.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取阿里云OSS相关配置
 * @author SuBanXia
 */
@Component
@ConfigurationProperties(prefix = "ali-oss")
@Data
public class AliOSSConfig {
    /**
     * accessKeyId
     */
    private String accessKeyId;

    /**
     * accessKeySecret
     */
    private String accessKeySecret;

    /**
     * bucket
     */
    private String bucket;

    /**
     * endpoint
     */
    private String endpoint;
}
